import javax.swing.*;
import java.awt.*;

public class RegisterFrame extends JFrame {
    public RegisterFrame() {
        initFrame();
    }

    private void initFrame() {
        this.setTitle("注册");
        this.setSize(508, 608);
        this.setAlwaysOnTop(true);//界面置顶
        this.setLocationRelativeTo(null);//居中
        this.setDefaultCloseOperation(3);//关闭模式设置
        this.setVisible(true);//界面显示出来
    }


}
